"""
API路由模块
包含所有API端点的路由定义
"""

from fastapi import APIRouter

from .ai_routes import ai_router
from .task_routes import task_router

# 创建主路由器
api_router = APIRouter(prefix="/api/syntax/online/v1")

# 包含所有子路由
api_router.include_router(ai_router, tags=["AI分析"])
api_router.include_router(task_router, tags=["任务队列"])


__all__ = ["api_router"] 
